home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / mom_mania.swf / scripts / UIMainMenu.as < prev    next >
Text File  |  2011-08-19  |  1KB  |  49 lines

  1. package
  2. {
  3.    import flash.events.Event;
  4.    import mx.flash.UIMovieClip;
  5.    
  6.    public dynamic class UIMainMenu extends UIMovieClip
  7.    {
  8.        
  9.       
  10.       public function UIMainMenu()
  11.       {
  12.          super();
  13.          addFrameScript(175,frame176,189,frame190,200,frame201,215,frame216,223,frame224);
  14.       }
  15.       
  16.       function frame176() : *
  17.       {
  18.          this.dispatchEvent(new Event("onMainIdle"));
  19.          this.dispatchEvent(new Event("hackButtonSounds"));
  20.          stop();
  21.       }
  22.       
  23.       function frame190() : *
  24.       {
  25.          stop();
  26.       }
  27.       
  28.       function frame201() : *
  29.       {
  30.          this.dispatchEvent(new Event("onClose"));
  31.          stop();
  32.       }
  33.       
  34.       function frame216() : *
  35.       {
  36.          this.dispatchEvent(new Event("onInstructionsIdle"));
  37.          this.dispatchEvent(new Event("hackButtonSounds"));
  38.          stop();
  39.       }
  40.       
  41.       function frame224() : *
  42.       {
  43.          this.dispatchEvent(new Event("onChooseMomIdle"));
  44.          this.dispatchEvent(new Event("hackButtonSounds"));
  45.          stop();
  46.       }
  47.    }
  48. }
  49.